using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Tongiao.Entity
{
                

     public class Tg_UserInfoEntity:AF_ORM.CORE.BaseEntity
    {
         public Tg_UserInfoEntity()
         {
             tableName = "Tg_UserInfo";


			 fieldInfos.Add(new FieldInfo("Tg_UserInfo","AddressCurrent","AddressCurrent","string",1024,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Tg_UserInfo","Birthday","Birthday","DateTime",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Tg_UserInfo","CreatedBy","CreatedBy","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Tg_UserInfo","CreatedDate","CreatedDate","DateTime",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Tg_UserInfo","FullName","FullName","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Tg_UserInfo","Generate","Generate","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Tg_UserInfo","Id","Id","Guid",0,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Tg_UserInfo","Info","Info","string",1024,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Tg_UserInfo","Password","Password","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Tg_UserInfo","PhoneNumber","PhoneNumber","string",12,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Tg_UserInfo","UpdatedBy","UpdatedBy","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Tg_UserInfo","UpdatedDate","UpdatedDate","DateTime",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Tg_UserInfo","UserName","UserName","string",50,false,false,true,false,"","",""));
         }
       //properties
                    
		 protected string m_AddressCurrent;
		 protected DateTime m_Birthday;
		 protected string m_CreatedBy;
		 protected DateTime m_CreatedDate;
		 protected string m_FullName;
		 protected string m_Generate;
		 protected Guid m_Id;
		 protected string m_Info;
		 protected string m_Password;
		 protected string m_PhoneNumber;
		 protected string m_UpdatedBy;
		 protected DateTime m_UpdatedDate;
		 protected string m_UserName;

		 public string AddressCurrent

          { 
                get { 
                    return m_AddressCurrent;}

                set{m_AddressCurrent=value;

                    GetField("AddressCurrent").Set();
                    GetField("AddressCurrent").IsNull=(value == null);           
                    }
          }
		 public DateTime Birthday

          { 
                get { 
                    return m_Birthday;}

                set{m_Birthday=value;

                    GetField("Birthday").Set();
                    GetField("Birthday").IsNull=(value == null);           
                    }
          }
		 public string CreatedBy

          { 
                get { 
                    return m_CreatedBy;}

                set{m_CreatedBy=value;

                    GetField("CreatedBy").Set();
                    GetField("CreatedBy").IsNull=(value == null);           
                    }
          }
		 public DateTime CreatedDate

          { 
                get { 
                    return m_CreatedDate;}

                set{m_CreatedDate=value;

                    GetField("CreatedDate").Set();
                    GetField("CreatedDate").IsNull=(value == null);           
                    }
          }
		 public string FullName

          { 
                get { 
                    return m_FullName;}

                set{m_FullName=value;

                    GetField("FullName").Set();
                    GetField("FullName").IsNull=(value == null);           
                    }
          }
		 public string Generate

          { 
                get { 
                    return m_Generate;}

                set{m_Generate=value;

                    GetField("Generate").Set();
                    GetField("Generate").IsNull=(value == null);           
                    }
          }
		 public Guid Id

          { 
                get { 
                    return m_Id;}

                set{m_Id=value;

                    GetField("Id").Set();
                    GetField("Id").IsNull=(value == null);           
                    }
          }
		 public string Info

          { 
                get { 
                    return m_Info;}

                set{m_Info=value;

                    GetField("Info").Set();
                    GetField("Info").IsNull=(value == null);           
                    }
          }
		 public string Password

          { 
                get { 
                    return m_Password;}

                set{m_Password=value;

                    GetField("Password").Set();
                    GetField("Password").IsNull=(value == null);           
                    }
          }
		 public string PhoneNumber

          { 
                get { 
                    return m_PhoneNumber;}

                set{m_PhoneNumber=value;

                    GetField("PhoneNumber").Set();
                    GetField("PhoneNumber").IsNull=(value == null);           
                    }
          }
		 public string UpdatedBy

          { 
                get { 
                    return m_UpdatedBy;}

                set{m_UpdatedBy=value;

                    GetField("UpdatedBy").Set();
                    GetField("UpdatedBy").IsNull=(value == null);           
                    }
          }
		 public DateTime UpdatedDate

          { 
                get { 
                    return m_UpdatedDate;}

                set{m_UpdatedDate=value;

                    GetField("UpdatedDate").Set();
                    GetField("UpdatedDate").IsNull=(value == null);           
                    }
          }
		 public string UserName

          { 
                get { 
                    return m_UserName;}

                set{m_UserName=value;

                    GetField("UserName").Set();
                    GetField("UserName").IsNull=(value == null);           
                    }
          }

}
}
